import { createApp } from 'vue'
import App from './App.vue'
import pinia from '@/stores'
import antV from 'ant-design-vue'
import router from './router'

import 'nprogress/nprogress.css'
import '@/style/index.less'

import globalDirective from './directive'

import _l from 'lodash'
import _u from '@/utils/'

const app = createApp(App)

globalDirective(app)

app.config.globalProperties.$_u = _u
app.config.globalProperties.$_l = _l

app.use(pinia).use(router).use(antV).mount('#app')
